package com.cash.loan.modular.cash.transfer;

import org.hibernate.validator.constraints.NotBlank;

/**
 * @author Administrator
 * @Date 2018-09-29 16:06
 */
public class CateDto {

    @NotBlank(message = "类别名称不能为空")
    private String name;

    @NotBlank(message = "图片地址不能为空")
    private String iconPath;

    public CateDto() {
    }

    public CateDto(String name, String iconPath) {
        this.name = name;
        this.iconPath = iconPath;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getIconPath() {
        return iconPath;
    }

    public void setIconPath(String iconPath) {
        this.iconPath = iconPath;
    }
}
